import request from '../http'



 
/** 短信验证码
 * @param {string} mobile 手机号码 
 * @param {string} event  register
 */
export const handleSendSMS = (data) => {
	return request({
		url: '/api/xilujob.sms/sendCode',
		method: 'post',
		data
	})
}

/** 省市区
 * @param {string} pid  
 * 
 */
export const fetchAreaList  = (data) => {
	return request({
		url: '/api/xilujob.entry/region',
		method: 'post',
		data
	})
}

/**
 * 所属公司
 */
export const fetchCompanyList  = (data) => {
	return request({
		url: '/api/xilujob.entry/subsidiaryCompany',
		method: 'post',
		data
	})
}


/** 入职提交
 * @param {string} 
 * 
 */
export const handleAddStaff = (data) => {
	return request({
		url: '/api/xilujob.staffs_info/add',
		method: 'post',
		data
	})
}

/**
 * 有关部门department
 */

export const fetchDepartment = (data) => {
	return request({
		url: '/api/xilujob.entry/depar',
		method: 'post',
		data
	})
}

/**
 * 人脸识别
 */
export const handleStandIdentify = (data) => {
	return request({
		url: '/api/xilujob.entry/getFaceIDb',
		method: 'post',
		data
	})
}